import java.io.*;

public class test {
	public static void main(String[] args) throws Exception {
		BufferedReader buffer = new BufferedReader(new InputStreamReader(System.in));
		String s;
		while(true) {
			
			if (buffer.ready()) {
				System.out.println("Ready!");
				s = buffer.readLine();
				System.out.println(s);
			}
			else {System.out.println("not ready");}
			Thread.sleep(1000);
		}
	}
}
